<?php
// web 处理类
class webController extends \Hyang\Controller
{
    public function indexAction()
    {
        $data = count($_POST)>0? $_POST:$_GET;
        if($data) print_json($data);
    }
    public function headAction()
    {
        debug(getallheaders(),true);
    }
}